<?php if ($this->_var['best_goods']): ?>
<?php if ($this->_var['cat_rec_sign'] != 1): ?>
	 <div class="mod1 blank">
	  <span class="lt"></span><span class="lb"></span><span class="rt"></span><span class="rb"></span>
      
	  <h1 class="mod1tit">
		 <?php echo $this->_var['lang']['best_goods']; ?>
		 <div class="more clearfix best" id="itemBest">
		  <?php if ($this->_var['cat_rec'] [ 1 ]): ?>
      <h2><a href="javascript:void(0)" onclick="change_tab_style('itemBest', 'h2', this);get_cat_recommend(1, 0);"><?php echo $this->_var['lang']['all_goods']; ?></a> |</h2>
      <?php $_from = $this->_var['cat_rec']['1']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'rec_data');if (count($_from)):
    foreach ($_from AS $this->_var['rec_data']):
?>
      <h2 class="h2bg">
			<a href="javascript:void(0)" onclick="change_tab_style('itemBest', 'h2', this);get_cat_recommend(1, <?php echo $this->_var['rec_data']['cat_id']; ?>)"><?php echo $this->_var['rec_data']['cat_name']; ?></a> |
			</h2>
      <?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
      <?php endif; ?>
		  <a href="search.php?intro=best">更多&gt;&gt;</a>
		 </div>
		</h1>

		<div class="recommendContent entry-content"  id="show_best_area" >
		<?php endif; ?>
		 <?php $_from = $this->_var['best_goods']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('', 'goods_0_66601300_1339158698');if (count($_from)):
    foreach ($_from AS $this->_var['goods_0_66601300_1339158698']):
?>
			<div class="goodsbox" >
				<div class="imgbox"><a href="<?php echo $this->_var['goods_0_66601300_1339158698']['url']; ?>"><img  src="<?php echo $this->_var['goods_0_66601300_1339158698']['thumb']; ?>" alt="<?php echo htmlspecialchars($this->_var['goods_0_66601300_1339158698']['name']); ?>" /></a></div>
				<p><a href="<?php echo $this->_var['goods_0_66601300_1339158698']['url']; ?>" title="<?php echo htmlspecialchars($this->_var['goods_0_66601300_1339158698']['name']); ?>"><b><?php echo $this->_var['goods_0_66601300_1339158698']['short_style_name']; ?></b></a></p>
				<p><span class="xx"><a target="_blank" href="<?php echo $this->_var['goods_0_66601300_1339158698']['url']; ?>" >详细</a> </span>规格：<?php echo $this->_var['goods_0_66601300_1339158698']['brief']; ?></p>
        <p><span class="yikoujia"><a href="javascript:addToCart(<?php echo $this->_var['goods_0_66601300_1339158698']['id']; ?>)" >购买</a></span>
        一口价:
										 <?php if ($this->_var['goods_0_66601300_1339158698']['promote_price'] != ""): ?>
                     <b class="f1"><?php echo $this->_var['goods_0_66601300_1339158698']['promote_price']; ?></b>
                     <?php else: ?>
                     <b class="f1"><?php echo $this->_var['goods_0_66601300_1339158698']['shop_price']; ?></b>
                     <?php endif; ?>
				</p>
			</div>
		<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
		<?php if ($this->_var['cat_rec_sign'] != 1): ?>
		</div>

   </div>
<?php endif; ?>
<?php endif; ?>